/**
 * 
 */
package be.bejug.scrumadmin;

import org.joda.time.LocalDate;
import org.springframework.stereotype.Component;

import be.bejug.scrumadmin.domain.Sprint;
import be.bejug.scrumadmin.domain.Story;
import be.bejug.scrumadmin.domain.Task;
import be.bejug.scrumadmin.domain.User;
import be.bejug.scrumadmin.domain.enums.Priority;

/**
 * @author Glenn Dejaeger
 * 
 */
public class ObjectFactory {

	public static Sprint getSprint1() {
		return new Sprint(1, new LocalDate(2011, 7, 01).toDate(),
				new LocalDate(2011, 7, 31).toDate());
	}

	public static Sprint getSprint2() {
		return new Sprint(2, new LocalDate(2011, 8, 01).toDate(),
				new LocalDate(2011, 8, 31).toDate());
	}

	public static  Sprint getSprint3() {
		return new Sprint(3, new LocalDate(2011, 9, 01).toDate(),
				new LocalDate(2011, 9, 30).toDate());
	}

	public static Sprint getSprint4() {
		return new Sprint(4, new LocalDate(2011, 10, 01).toDate(),
				new LocalDate(2011, 10, 31).toDate());
	}

	public static Sprint getSprint5() {
		return new Sprint(5, new LocalDate(2011, 11, 01).toDate(),
				new LocalDate(2011, 11, 30).toDate());
	}

	public static Sprint getSprint6() {
		return new Sprint(6, new LocalDate(2011, 12, 01).toDate(),
				new LocalDate(2011, 12, 31).toDate());
	}

	public static User getCurrentUser() {
		return new User("Glenn", "Dejaeger", "glenn.dejaeger@ae.be", "dummy");
	}

	public static Story getStory1() {
		return new Story(1, "Story1", "Story1 description", Priority.HIGH,
				getCurrentUser());
	}

	public static Story getStory2() {
		return new Story(2, "Story2", "Story2 description", Priority.HIGH,
				getCurrentUser());
	}

	public static Story getStory3() {
		return new Story(3, "Story3", "Story3 description", Priority.HIGH,
				getCurrentUser());
	}

	public static Story getStory4() {
		return new Story(4, "Story4", "Story4 description", Priority.HIGH,
				getCurrentUser());
	}

	public static Story getStory5() {
		return new Story(5, "Story5", "Story5 description", Priority.HIGH,
				getCurrentUser());
	}

	public static Story getStory6() {
		return new Story(6, "Story6", "Story6 description", Priority.HIGH,
				getCurrentUser());
	}

	public static Story getStory7() {
		return new Story(7, "Story7", "Story7 description", Priority.HIGH,
				getCurrentUser());
	}

	public static Story getStory8() {
		return new Story(8, "Story8", "Story8 description", Priority.HIGH,
				getCurrentUser());
	}

	public static Story getStory9() {
		return new Story(9, "Story9", "Story9 description", Priority.HIGH,
				getCurrentUser());
	}

	public static Story getStory10() {
		return new Story(10, "Story10", "Story10 description", Priority.HIGH,
				getCurrentUser());
	}

	public static Story getStory11() {
		return new Story(11, "Story11", "Story11 description", Priority.MEDIUM,
				getCurrentUser());
	}

	public static Story getStory12() {
		return new Story(12, "Story12", "Story12 description", Priority.MEDIUM,
				getCurrentUser());
	}

	public static Story getStory13() {
		return new Story(13, "Story13", "Story13 description", Priority.MEDIUM,
				getCurrentUser());
	}

	public static Story getStory14() {
		return new Story(14, "Story14", "Story14 description", Priority.MEDIUM,
				getCurrentUser());
	}

	public static Story getStory15() {
		return new Story(15, "Story15", "Story15 description", Priority.MEDIUM,
				getCurrentUser());
	}

	public static Story getStory16() {
		return new Story(16, "Story16", "Story16 description", Priority.LOW,
				getCurrentUser());
	}

	public static Story getStory17() {
		return new Story(17, "Story17", "Story17 description", Priority.LOW,
				getCurrentUser());
	}

	public static Story getStory18() {
		return new Story(18, "Story18", "Story18 description", Priority.LOW,
				getCurrentUser());
	}

	public static Task getTask1_1() {
		return new Task(1, "Task1_1", "Task1_1 description", 3.5d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask1_2() {
		return new Task(2, "Task1_2", "Task1_2 description", 2.5d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask1_3() {
		return new Task(3, "Task1_3", "Task1_3 description", 2.0d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask2_1() {
		return new Task(4, "Task2_1", "Task2_1 description", 3.0d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask2_2() {
		return new Task(5, "Task2_2", "Task2_2 description", 2.5d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask2_3() {
		return new Task(6, "Task2_3", "Task2_3 description", 1.5d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask3_1() {
		return new Task(7, "Task3_1", "Task3_1 description", 2.5d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask3_2() {
		return new Task(8, "Task3_2", "Task3_2 description", 2.0d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask3_3() {
		return new Task(9, "Task3_3", "Task3_3 description", 1.5d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask4_1() {
		return new Task(10, "Task4_1", "Task4_1 description", 3.5d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask4_2() {
		return new Task(11, "Task4_2", "Task4_2 description", 2.5d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask4_3() {
		return new Task(12, "Task4_3", "Task4_3 description", 2.0d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask5_1() {
		return new Task(13, "Task5_1", "Task5_1 description", 3.0d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask5_2() {
		return new Task(14, "Task5_2", "Task5_2 description", 2.5d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask5_3() {
		return new Task(15, "Task5_3", "Task5_3 description", 1.5d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask6_1() {
		return new Task(16, "Task6_1", "Task6_1 description", 2.5d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask6_2() {
		return new Task(17, "Task6_2", "Task6_2 description", 2.0d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask6_3() {
		return new Task(18, "Task6_3", "Task6_3 description", 1.5d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask7_1() {
		return new Task(19, "Task7_1", "Task7_1 description", 3.5d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask7_2() {
		return new Task(20, "Task7_2", "Task7_2 description", 2.5d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask7_3() {
		return new Task(21, "Task7_3", "Task7_3 description", 2.0d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask8_1() {
		return new Task(22, "Task8_1", "Task8_1 description", 3.0d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask8_2() {
		return new Task(23, "Task8_2", "Task8_2 description", 2.5d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask8_3() {
		return new Task(24, "Task8_3", "Task8_3 description", 1.5d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask9_1() {
		return new Task(25, "Task9_1", "Task9_1 description", 2.5d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask9_2() {
		return new Task(26, "Task9_2", "Task9_2 description", 2.0d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask9_3() {
		return new Task(27, "Task9_3", "Task9_3 description", 1.5d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask10_1() {
		return new Task(28, "Task10_1", "Task10_1 description", 3.5d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask10_2() {
		return new Task(29, "Task10_2", "Task10_2 description", 2.5d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask10_3() {
		return new Task(30, "Task10_3", "Task10_3 description", 2.0d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask11_1() {
		return new Task(31, "Task11_1", "Task11_1 description", 3.0d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask11_2() {
		return new Task(32, "Task11_2", "Task11_2 description", 2.5d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask11_3() {
		return new Task(33, "Task11_3", "Task11_3 description", 1.5d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask12_1() {
		return new Task(34, "Task12_1", "Task12_1 description", 2.5d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask12_2() {
		return new Task(35, "Task12_2", "Task12_2 description", 2.0d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask12_3() {
		return new Task(36, "Task12_3", "Task12_3 description", 1.5d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask13_1() {
		return new Task(37, "Task13_1", "Task13_1 description", 3.5d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask13_2() {
		return new Task(38, "Task13_2", "Task13_2 description", 2.5d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask13_3() {
		return new Task(39, "Task13_3", "Task13_3 description", 2.0d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask14_1() {
		return new Task(40, "Task14_1", "Task14_1 description", 3.0d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask14_2() {
		return new Task(41, "Task14_2", "Task14_2 description", 2.5d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask14_3() {
		return new Task(42, "Task14_3", "Task14_3 description", 1.5d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask15_1() {
		return new Task(43, "Task15_1", "Task15_1 description", 2.5d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask15_2() {
		return new Task(44, "Task15_2", "Task15_2 description", 2.0d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask15_3() {
		return new Task(45, "Task15_3", "Task15_3 description", 1.5d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask16_1() {
		return new Task(46, "Task16_1", "Task16_1 description", 3.5d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask16_2() {
		return new Task(47, "Task16_2", "Task16_2 description", 2.5d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask16_3() {
		return new Task(48, "Task16_3", "Task16_3 description", 2.0d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask17_1() {
		return new Task(49, "Task17_1", "Task17_1 description", 3.0d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask17_2() {
		return new Task(50, "Task17_2", "Task17_2 description", 2.5d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask17_3() {
		return new Task(51, "Task17_3", "Task17_3 description", 1.5d,
				getCurrentUser(), Priority.LOW);
	}

	public static Task getTask18_1() {
		return new Task(52, "Task18_1", "Task18_1 description", 2.5d,
				getCurrentUser(), Priority.HIGH);
	}

	public static Task getTask18_2() {
		return new Task(53, "Task18_2", "Task18_2 description", 2.0d,
				getCurrentUser(), Priority.MEDIUM);
	}

	public static Task getTask18_3() {
		return new Task(54, "Task18_3", "Task18_3 description", 1.5d,
				getCurrentUser(), Priority.LOW);
	}
}
